package com.fram.service.api.v1.android;

import java.util.List;

import com.fram.bean.admin.android.order.request.OrderAndroidRequest;
import com.fram.bean.admin.android.order.request.OrderDeliveredAndroidRequest;
import com.fram.bean.admin.android.order.request.ReportFormRequest;
import com.fram.bean.admin.android.order.response.OrderAndroidResponse;
import com.fram.bean.admin.android.order.response.OrderDetailAndroidResponse;
import com.fram.bean.admin.android.order.response.ReportFormResponse;
import com.fram.bean.admin.android.order.response.SalesVolumeResponse;
import com.fram.bean.admin.ordermain.response.PageAdminReportForm;
import com.fram.bean.sys.PageBean;
import com.fram.common.exception.ProAffairException;
import com.fram.common.exception.ProException;
import com.github.pagehelper.PageInfo;

public interface OrderAndroidService {
	//首页 销售额
	public SalesVolumeResponse salesVolume(Long distributorId) throws ProException;
	
	//接单  配送  以及 订单列表
	public PageInfo<OrderAndroidResponse> list(PageBean<OrderAndroidRequest> request)throws ProException;
	
	//订单详情
	public OrderDetailAndroidResponse detail(Long id)throws ProException;
	//点击配送
	public void orderDelivered(OrderDeliveredAndroidRequest request)throws ProException;
	//销量表
	public PageAdminReportForm reportForm(Long distributorId) throws ProAffairException;
	//报表
	List<ReportFormResponse> reportForm(ReportFormRequest request)throws ProException;
}
